home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
ab20
/
ab20_archive
/
archivers
/
extractor.lzh
/
extractor.doc
< prev
next >
Wrap
Text File
|
1991-11-22
|
9KB
|
208 lines
Extractor v1.0
by Kerry Cianos and Geoffrey Faivre-Malloy
Copyright 1991 Impress Technologies. All rights reserved.
----------------------------------------------------------------------------
Welcome to Extractor! We are pleased to present a versatile and
efficient tool for making your usage of the networks easier and faster. With
Extractor you will be able to make maximum use of both your time and network
resources.
What is Extractor? Extractor is a powerful utility that lets you
perform operations that are essential to using any network for data/file
transfer. When a binary file is sent through a network it must first be
processed into ASCII format. Since a binary file may contain unreadable
characters, a special process called UUencoding is done. This process turns
the binary file into a file of readable (but gibberish) characters. UUdecoding
is the inverse process to return an encoded file back into its original state.
Extractor does both UUencoding and UUdecoding. In addition, large files may
be split into parts for tranfer along the network. Extractor will decode these
multiple parts back into original form for you. In addition to the UU form of
encoding/decodng, Extractor will also do XXencoding/decoding. XX is a special
form that is used to transfer files between certain Bitnet configurations.
Whereas a UUencoded file contains characters like @, * and !, XX doesn't. The
only allowable characters are the 52 upper and lowercase letters, and the plus
and minus signs (+ -). Binhex 4.0 decoding for Macintosh .hqx files may
be added in the future.
In addition to encoding and decoding functions Extractor offers a very
powerful archive lister. Available as a seperate program (Lister), Extractor
will "look" inside files and try to determine what archive they are.
Extractor/Lister currently support seven formats: Arc-, Cpio, LhArc, LHA,
StuffIt-, Tar, Zip, and Zoo. Compactor Pro- support may be offered in the
future. Once an archive has been found a listing of the filename, compressed
and uncompressed sizes, time and date, and the compression ration will be
shown. Extractor / Lister can try and auto-detect the archive type or you
may specify the archive type.
Extractor also offers many complementary features. Online help is only
one letter away! The -h command will display a mini-help file that describes
all available commands. There are two options to delete files as the are
processed (to free up disk space) or delete all the processed files at the end.
A join option is included to just join the files without doing any special
processing of the files. A pause option is included for when you would like a
browse an archive listing. An option to decode the file to the output screen
instead of a disk file is useful for viewing READ.ME files. All output can be
disabled with the quiet option.
Legal Stuff:
The usage of this program is free. We, Kerry Cianos and Geoffrey
Faivre-Malloy still retain the copyrights to the source code. It is therefore
not public-domain, but freeware. If you use this program we would like to hear
from you (come on, its not that hard to do!). Just email us at any address
below or send us a postcard (please!! :)). Of course, any bug reports and
suggestions/comments would be greatly appreciated. The source is not
included in this distribution. If you obtained a copy of the source from
another source (no pun intended) then it is an illegal copy. To obtain
the source from us, simply send us a letter stating how much you love
extractor (or if you hate it) and tell us you want the source. Please
include a disk and postage to mail it back to you. If you are on the
networks, send us some E-Mail and we will respond as quickly as possible.
Keep in mind that our accounts are deactivated during the summer and
christmas breaks.
Extractor can be placed on BIX, Genie, CompuServ, and other
commercial networks. It cannot be placed on networks that *specifically*
charge for Extractor. I.E. If file access is a standard charge, then it
is ok to put it there but Extractor *CANNOT* be sold for profit. It can
be placed on Public Domain disks such as Fred Fish but in no case can any
disk that Extractor is placed in cost more than Fred Fish charges for
copying costs. Don't ya hate all this legalese? Me too...I wish it
wasn't necessary...
P.S. If I contradicted myself in any of the above statements, let me know
and I'll correct ASAP :)
Bitnet: ktc0440csci@apsu Kerry Cianos
BIX: mduck P.O. Box 5771
AOL: Kerry C6 Clarksville TN 37044
Bitnet: gf7609csci@apsu Geoffrey Faivre-Malloy
BIX: mduck P.O. Box 5272
Clarksville TN 37044
Installation
------------
Put Extractor in your path and you are ready to go.
Extractor v1.0 Copyright 1991 Impress Technologies
Usage : Extractor -dehjklopqxyz <InFile> [OutFile]
Type Extractor -h for mini-help.
Extractor Options
This section describes the option switches and their use in Extractor:
Decoding: Extractor -{D, X} <InFile> [OutFile]
Extractor will attempt to decode the file(s) specified. All input files
must end with a number. The first part (and if the only part) must end with .1
(ie. testfile.1). To decode a multi-part file, each piece should end with a
number specify which part it is. The numbers should range from 1 to the number
of pieces. For example, if Bigfile was in three parts, you should have three
files named Bigfile.1, Bigfile.2, and Bigfile.3. Use these switches to decode:
-D -=> UUDecoding
-X -=> XXDecoding
The InFile is the file that you want to UU or XX decode. OutFile is optional.
If one is not entered then the OutFile name will be the taken from the encoded
file itself (the filename is stored on the begin line).
Example: Extractor -d main.1
This will UUDncode all parts of main using the filename specified in the
uuencoded file as the OutFile. An error message will be displayed if a part is
missing.
Example: Extractor -d main.1 whyme.zoo
This will UUDncode all parts of main using whyme.zoo as the OutFile. An error
message will be displayed if a part is missing.
Encoding: Extractor -{E, Y} <InFile> [OutFile]
Extractor is capable of XXEncoding and UUEncoding files. UUEncoded
files will have a checksum computer and stored at the end of each line. Both of
these formats are a way to take a binary file and turn it into ASCII. To encode
a file use:
-E -=> UUEncoding
-Y -=> XXEncoding
The InFile is the file that you want to UU or XX encode. OutFile is optional.
If one is not entered then the OutFile name will be the InFile name + '.uue' or
'.xxe' depending upon the format used.
Example: Extractor -e main.zoo whyme.uue
This will UUEncode a file named main.zoo into whyme.uue.
Example: Extractor -e main.zoo
This will UUEncode a file named main.zoo into main.uue.
The total number of bytes processed will be displayed as Extractor encodes.
At the end Extractor will display the number of bytes read in and the number of
bytes written.
Listing: Extractor -l InFile OR
Extractor -l InFile.ext
Extractor can also list the contents of the following archives: Arc,
Cpio, LHA, LhArc, Sit, Tar, Zip, and Zoo.
Extractor is smart enough to auto-detect the type of file if an extension is not
given. If the filetype is not recognized then an error message will be
displayed.
Example 1: Extractor -l stuff.lzh
This will list the contents of stuff.lzh
Example 2: Extractor -l stuff
This will list the contents of ALL files that start with stuff and end with a
recognizable extension. I.E. Arc, Cpio, LHA, LhArc, SIT, Tar, Zip, and Zoo.
Miscellaneous Options:
-h Mini-help feature to describe the commands. To access this help use
must type $ Extractor -h. The -h must be the first letter and all subsequent
switches will be ignored.
-j This option is to be used for BinHex files. It will concatenate the
files together into one large file. Once BinHex Decoding is supported, this
option will probably be removed.
-k This option is used when you are running low on disk space. It is for
use with the Decode options. When entered, as each file is read into memory
and processed, the files will be deleted. Use this only if you can afford to
lose the files in case something happens!
-o Will send the decoded file to stdout instead of a diskfile. Must be
used in conjunction with the d or x option (ie. $ Extractor -do readme.1)
-p This is the pause option. It has no effect unless used in conjunction
with the list (-l) option. It will pause the archive printout every 20 lines
and wait for a RETURN.
-q This turns off all messages. With the quiet option on Extractor will
not produce and output. All decoding messages and even errors will not be
echoed to the screen.
-z This is the same as the -k option with the exception that the files will
be deleted when decoding is finished. Much safer but takes more disk space.